projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c8cd23
)
Fix the build with clang
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 10 Jul 2020 15:55:46 +0000
(11:55 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 10 Jul 2020 17:21:23 +0000
(13:21 -0400)
clang doesn't allow G_GNUC_FALLBACK in dead code.
Seems silly, but what can we do.
gtk/gtkfilterlistmodel.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilterlistmodel.c
b/gtk/gtkfilterlistmodel.c
index 7bc679c9c8f5042b03aaa429ecc4e9a4fc90df52..387393cd69477dbb49354d2ef13834efbf11d728 100644
(file)
--- a/
gtk/gtkfilterlistmodel.c
+++ b/
gtk/gtkfilterlistmodel.c
@@
-494,7
+494,7
@@
gtk_filter_list_model_refilter (GtkFilterListModel *self,
{
default:
g_assert_not_reached ();
- G_GNUC_FALLTHROUGH;
+ /* fall thru */
case GTK_FILTER_CHANGE_DIFFERENT:
self->matches = gtk_bitset_new_empty ();
pending = gtk_bitset_new_range (0, g_list_model_get_n_items (self->model));